﻿using MediatR;
using W.Common.Enum;
using W.Warehouse.Domain.Reportlosses;

namespace W.Warehouse.Read.Api.Application.Command.ReportlossesCommand
{
    public class ReportlossesUpdateCommand:IRequest<int>
    {
        public int ReportlossesId { get; set; }
        /// <summary>
        /// 报损单号
        /// </summary>
        public string? ReportlossesNo { get; set; }
        /// <summary>
        /// 报损类型
        /// </summary>
        public string? ReportlossesType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? AssociateNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? SingleMaker { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MakeTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? MoveRemark { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public AuditStatus? DocumentState { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? ExamineReason { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExaminePeople { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? officeId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? userid { get; set; }
        /// <summary>
        /// 原库位
        /// </summary>
        public string? Wlocator { get; set; }
        /// <summary>
        /// 报损库位
        /// </summary>
        public string? WRepolocator { get; set; }
        // <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeleteName { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDelete { get; set; }


        public List<ReportProduct> ReportProducts { get; set; }=new List<ReportProduct>();
    }

}
